package com.mac.test.springtest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("hello")
    public String test(){
        return "hello";
    }
    @RequestMapping("hello2")
    public String test2(){
        return "hello2";
    }

}
